package demo04;

import java.util.ArrayList;
import java.util.Collections;

public class exercise40 {
	public static void main(String[] args) {
		ArrayList<String> list = new ArrayList<String>();
		list.add("1314");
		list.add("1319");
		list.add("1316");
		Collections.sort(list);
		for(int i = 0;i<list.size();i++){
			System.out.println(list.get(i));
		}
	}
}
